# 随机分配教师

def allot_teacher():
    import random
    rooms=[[],[],[]]
    teachers=["A","B","C","D","E","F","G","H"]
    for t in teachers:
        room_index=random.randint(0,2)
        rooms[room_index].append(t)
    print(rooms)

if __name__=="__main__":
    allot_teacher()
